[HVM] Inject #PF when mmio instruction fetch fails
authorTim Deegan <Tim.Deegan@xensource.com>
Tue, 31 Jul 2007 10:37:27 +0000 (11:37 +0100)
committerTim Deegan <Tim.Deegan@xensource.com>
Tue, 31 Jul 2007 10:37:27 +0000 (11:37 +0100)
commit8f5a6682da6bd054b4090a0f1b40f3e44f9abe4b
tree0bb9271de467d20d0d21d410dc5799a375664524
parent36e06c262bc93b816742719d23ebeebc543cbba7
[HVM] Inject #PF when mmio instruction fetch fails
instead of crashing the guest.  This can happen if one vcpu pages out
another vcpu's kernel text page while the other is performing an mmio op.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/hvm/instrlen.c
xen/arch/x86/hvm/platform.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h